package com.cdd.servicebase.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //有参构造
@NoArgsConstructor  //无参构造
public class SmartException extends RuntimeException{

    //异常状态码
    private Integer code;

    //异常信息
    private String msg;
}
